<template>
  <div class="container__leftArrow" @click="showMessage">
    <span class="container__leftArrow__icon iconfont" v-if="!isShow"
      >&#xe84f;</span
    >
    <span
      style="font-size: 35rem"
      class="container__leftArrow__icon iconfont"
      v-else
      >&#xe62b;</span
    >
  </div>
  <div class="container__hiddenMessage" v-if="isShow">
    <div class="container__hiddenMessage__top">
      <span class="iconfont">&#xe80f;</span>
      <span class="content">加病历</span>
    </div>
    <div class="container__hiddenMessage__mid">
      <span class="iconfont">&#xe680;</span>
      <span class="content">加患者</span>
    </div>
    <div class="container__hiddenMessage__bottom">
      <span class="iconfont">&#xe62c;</span>
      <span class="content">加提醒</span>
    </div>
  </div>
</template>
<script setup>
import { ref } from "vue";
const isShow = ref(false);
function showMessage() {
  if (isShow.value === false) {
    isShow.value = true;
  } else {
    isShow.value = false;
  }
}
</script>
<style lang="scss" scoped>
.container__leftArrow {
  position: absolute;
  padding: 5rem 2rem;
  bottom: 25rem;
  right: 5rem;
  z-index: 9;
  &__icon {
    font-size: 25rem;
    color: #565555c8;
  }
}
.container .active {
  width: 40rem;
  height: 40rem;
  color: #24a9ff;
}
.container__hiddenMessage {
  width: 100rem;
  height: 200rem;
  position: absolute;
  padding: 5rem 2rem;
  bottom: -60rem;
  right: 10rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
  &__top {
    width: 55rem;
    height: 55rem;
    border-radius: 50%;
    background-color: #96cdee;
    margin-left: 50rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    box-sizing: border-box;
    padding: 3rem;
    span.iconfont {
      color: #fff;
      font-size: 30rem;
    }
    span.content {
      font-size: 12rem;
    }
  }
  &__mid {
    width: 55rem;
    height: 55rem;
    border-radius: 50%;
    background-color: #96cdee;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    box-sizing: border-box;
    padding: 3rem;
    span.iconfont {
      color: #fff;
      font-size: 30rem;
    }
    span.content {
      font-size: 12rem;
    }
  }
  &__bottom {
    width: 55rem;
    height: 55rem;
    margin-left: 50rem;
    border-radius: 50%;
    background-color: #96cdee;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding: 3rem;
    box-sizing: border-box;
    span.iconfont {
      font-size: 30rem;
    }
    span.content {
      font-size: 12rem;
    }
  }
}
</style>
